<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Hyper - Responsive Bootstrap 4 Admin Dashboard</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" />
        <meta content="Coderthemes" name="author" />
        <!-- App favicon -->
        <link rel="shortcut icon" href="${ctx}/theme/hyper/images/favicon.ico">

        <!-- third party css -->
        <link href="${ctx}/theme/hyper/css/vendor/dataTables.bootstrap4.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/theme/hyper/css/vendor/responsive.bootstrap4.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/theme/hyper/css/vendor/buttons.bootstrap4.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/theme/hyper/css/vendor/select.bootstrap4.css" rel="stylesheet" type="text/css" />
        <!-- third party css end -->

        <!-- App css -->
        <link href="${ctx}/theme/hyper/css/icons.min.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/theme/hyper/css/app.min.css" rel="stylesheet" type="text/css" />

    </head>

    <body>

        <!-- Begin page -->
        <div class="wrapper">

            <!-- ========== Left Sidebar Start ========== -->
            <jsp:include page="../left.jsp"></jsp:include>
            <!-- Left Sidebar End -->

            <!-- ============================================================== -->
            <!-- Start Page Content here -->
            <!-- ============================================================== -->

            <div class="content-page" id = "qiu_vue">
                <div class="content">
                    
                    <!-- top -->
                    <div class="navbar-custom">
                        <div class="app-search">
                            <form action="#" method="post" id="topSub">
                                <div class="input-group">
                                    <input type="text" class="form-control" id="topCondition" name="topCondition" value="${topCondition}" placeholder="账号">
                                    <input type="hidden" name="searchType" value="top">
                                    <span class="mdi mdi-magnify"></span>
                                    <div class="input-group-append">
                                        <button class="btn btn-primary" type="button" onclick="seachByAccount()" >搜索</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <!-- end -->
                    
                    <!-- Start Content-->
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col-12">
                                <div class="card">
                                    <div class="card-body">
                                        <h4 class="header-title">收益记录</h4>
                                        <table id="basic-datatable" class="table dt-responsive nowrap" width="100%">
                                            <thead>
                                                <tr>
                                                    <th>ID</th>
                                                    <th>时间</th>
                                                    <th>收益</th>
                                                </tr>
                                            </thead>
                                            <tbody id = "incomeList">
                                                <tr  v-for = "item in items">
                                                    <td>{{ item.entityID }}</td>
                                                    <td>{{ item.fullDate }}</td>
                                                    <td>{{ item.value }}</td>
                                                </tr>
                                            </tbody>
                                        </table>

                                    </div> <!-- end card body-->
                                </div> <!-- end card -->
                            </div><!-- end col-->
                        </div>

                        <jsp:include page="../page.jsp"></jsp:include>

                        <!-- end row-->
                        
                    </div> <!-- container -->

                </div> <!-- content -->

            </div>

            <!-- ============================================================== -->
            <!-- End Page content -->
            <!-- ============================================================== -->

        </div>
        <!-- END wrapper -->



        <!-- App js -->
        <script src="${ctx}/theme/hyper/js/app.min.js"></script>

        <!-- third party js -->
        <script src="${ctx}/theme/hyper/js/vendor/jquery.dataTables.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/dataTables.bootstrap4.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/dataTables.responsive.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/responsive.bootstrap4.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/dataTables.buttons.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/buttons.bootstrap4.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/buttons.html5.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/buttons.flash.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/buttons.print.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/dataTables.keyTable.min.js"></script>
        <script src="${ctx}/theme/hyper/js/vendor/dataTables.select.min.js"></script>
        <!-- third party js ends -->

        <!-- vue -->

        <script src="https://cdn.jsdelivr.net/npm/vue"></script>

        <script>
            var basePath = '${ctx}';

        </script>

        <!-- demo app -->
        <script src="${ctx}/theme/hyper/js/pages/demo.datatable-init.js?v=${ggversion}"></script>
        <!-- end demo js-->

        <script type="text/javascript">

            </script>
    </body>
</html>
